package com.admin.contoller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping(value="/")
public class LoginController {

    private static Logger logger = Logger.getLogger(LoginController.class);

    @RequestMapping(value="/index")
    public String index(HttpServletRequest request, Model model) throws Exception {

        return "index/index";
    }
    @RequestMapping(value="/main")
    public String main(HttpServletRequest request, Model model) throws Exception {

        return "main/main";
    }

}
